#ifndef LABELTABLE_H
#define LABELTABLE_H

struct Label{
        string _name;
		int    _index;
		int    _tagIndex;
		int    _funcIndex;
};

class LBLTable {

public:
	int    add(const string &name, int tagIndex, int funcIndex);
	int    find(const string &name, int funcIndex);
	int    get(const string &name, int funcIndex);
	void   dump();

private:
	vector<Label> _vl;
};


#endif
